
<div class="breakcrumbs" >
<? while($c = array_pop($category)){
  ?>
   <?=$c['id']?'':'<span class="ui-icon ui-icon-home"></span> '?><a href="/doc/index/<?=$c['id']?>/" ><?=$c['title']?></a> >
  <?
  } ?> 
   
</div>
<div class="smallmenu" >
  <a href="/doc/edit/<?=seg(3)?>/" > <span class="ui-icon ui-icon-pencil"></span> 编辑文件</a>
  <a href="/doc/del/<?=seg(3)?>/" > <span class="ui-icon ui-icon-trash"></span> 删除文件</a>
</div>

<div style="width:800px;margin:50px auto;padding:20px;border:solid 5px #eee;" >
      <h2><center><?=$r[title] ?></center></h2>
      <?=$r[content] ?>
    </div>
<table class="view" >
  <tr>
    <th>附件</th>
    <td><?=$r[attach]?'<a href="/'.$r[attach].'" target=_blank>下载附件</a>':'无附件' ?></td>
  </tr>
  <tr>
    <th>加入时间</th>
    <td><?=__time($r[add_time])?></td>
  </tr>
  <tr>
    <th>更新时间</th>
    <td><?=__time($r[update_time])?></td>
  </tr>
  <tr>
    <th>编辑</th>
    <td><?=$r[update_people] ?></td>
  </tr>
</table>
